package com.anjie.powerproject.config;

import com.anjie.powerproject.common.ModelTypeEnum;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Future;

public class ExecuteResult extends DataObject {
    private String deviceCode;
    private String selectedModel;
    private ModelTypeEnum modelType;
    private List<BigDecimal> modelList;
    private List<BigDecimal> historyList;
    private List<BigDecimal> selectedList;
    private BigDecimal[] analyseValues;
    private Boolean complete;
    private List<String> dateList;

    private Future<?> task;

    private Double process;

    private String error;

    public ExecuteResult(Boolean complete) {
        super(new Date());
        this.complete = complete;
    }

    public Boolean getComplete() {
        return complete;
    }

    public void setComplete(Boolean complete) {
        this.complete = complete;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public ModelTypeEnum getModelType() {
        return modelType;
    }

    public void setModelType(ModelTypeEnum modelType) {
        this.modelType = modelType;
    }

    public List<BigDecimal> getModelList() {
        return modelList;
    }

    public void setModelList(List<BigDecimal> modelList) {
        this.modelList = modelList;
    }

    public List<BigDecimal> getHistoryList() {
        return historyList;
    }

    public void setHistoryList(List<BigDecimal> historyList) {
        this.historyList = historyList;
    }

    public List<BigDecimal> getSelectedList() {
        return selectedList;
    }

    public void setSelectedList(List<BigDecimal> selectedList) {
        this.selectedList = selectedList;
    }

    public String getSelectedModel() {
        return selectedModel;
    }

    public void setSelectedModel(String selectedModel) {
        this.selectedModel = selectedModel;
    }

    public BigDecimal[] getAnalyseValues() {
        return analyseValues;
    }

    public void setAnalyseValues(BigDecimal[] analyseValues) {
        this.analyseValues = analyseValues;
    }

    public List<String> getDateList() {
        return dateList;
    }

    public void setDateList(List<String> dateList) {
        this.dateList = dateList;
    }

    public Future<?> getTask() {
        return task;
    }

    public void setTask(Future<?> task) {
        this.task = task;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Double getProcess() {
        return process;
    }

    public void setProcess(Double process) {
        this.process = process;
    }
}
